package com.taijihuabao.modules.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.taijihuabao.common.commonutils.LongToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 打卡状态
 *
 * @author changhui.tu
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("打卡状态")
public class CheckInStateEntity {

    /**
     * 状态主键
     */
    @ApiModelProperty(value = "状态主键")
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long id;

    /**
     * 状态名称
     */
    @ApiModelProperty(value = "状态名称")
    private String state;

}
